package com.ziyun.pop.modules.storeMaterials.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ziyun.pop.modules.storeMaterials.entity.StoreMaterialInEntity;
import io.renren.common.utils.PageUtils;
import com.ziyun.pop.modules.storeMaterials.entity.StoreMaterialInDetailEntity;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 门店入库明细表
 *
 * @author guizhao
 * @email 296588519@qq.com
 * @date 2018-10-04 10:03:15
 */
public interface StoreMaterialInDetailService extends IService<StoreMaterialInDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveList(List<StoreMaterialInDetailEntity> storeMaterialInDetailEntityList, StoreMaterialInEntity storeMaterialInEntity);

    void saveListByCG(StoreMaterialInDetailEntity storeMaterialInDetailEntity1, StoreMaterialInEntity storeMaterialInEntity);

    List<StoreMaterialInDetailEntity> getStorematerialByinNo(String inNo);

    BigDecimal getMaterialQuantityByMaterialId(String MaterialId,String inNo);

    List<StoreMaterialInDetailEntity> getInid(Integer inId);

    List<StoreMaterialInDetailEntity> getInidAndInNo(String inNoNew,Integer inIdNew);

    List<StoreMaterialInDetailEntity> getListstorematerialIndetail(Integer inId,String inNo);





}

